package com.kly.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class MemberDto implements Serializable {

    private static final long serialVersionUID = 1110232224429946740L;

    /**
     *
     */
    private String userCode;
    /**
     *
     */
    private String memberCode;
    /**
     *会员类型
     */
    private Integer memberType;
    /**
     *状态值
     */
    private Integer status;
    /**
     *会员积分
     */
    private Integer points;
    /**
     *生效日期
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "MM/dd/yyyy")
    private Date effectiveDate;
    /**
     *过期日期
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "MM/dd/yyyy")
    private Date expiryDate;
    /**
     *是否自动续费、1、开启，2、关闭
     */
    private Integer autoRenew;

    private ProductCategoryDto.Subscriptions memberDescription;

    private List<MemberBenefitsDto> membershipPerksList;

    private List<ProductDescriptionDto> ProductDescriptions;

    private List<ProductCategoryDto.Subscriptions> subscriptions;


    /**
     * 是否有促销活动
     */
    private int havaDiscount;

    /**
     * 折扣剩余时间
     */
    private Integer popOverTime;

    /**
     * 促销标签
     */
    private String topTag;

    public List<ProductDescriptionDto> getProductDescriptions() {
        return ProductDescriptions;
    }

    public void setProductDescriptions(List<ProductDescriptionDto> productDescriptions) {
        ProductDescriptions = productDescriptions;
    }

    public List<ProductCategoryDto.Subscriptions> getSubscriptions() {
        return subscriptions;
    }

    public void setSubscriptions(List<ProductCategoryDto.Subscriptions> subscriptions) {
        this.subscriptions = subscriptions;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getMemberCode() {
        return memberCode;
    }

    public void setMemberCode(String memberCode) {
        this.memberCode = memberCode;
    }

    public Integer getMemberType() {
        return memberType;
    }

    public void setMemberType(Integer memberType) {
        this.memberType = memberType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }


    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public Date getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(Date expiryDate) {
        this.expiryDate = expiryDate;
    }

    public Integer getAutoRenew() {
        return autoRenew;
    }

    public void setAutoRenew(Integer autoRenew) {
        this.autoRenew = autoRenew;
    }

    public List<MemberBenefitsDto> getMembershipPerksList() {
        return membershipPerksList;
    }

    public void setMembershipPerksList(List<MemberBenefitsDto> membershipPerksList) {
        this.membershipPerksList = membershipPerksList;
    }

    public Date getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(Date effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public ProductCategoryDto.Subscriptions getMemberDescription() {
        return memberDescription;
    }

    public void setMemberDescription(ProductCategoryDto.Subscriptions memberDescription) {
        this.memberDescription = memberDescription;
    }

    public Integer getPopOverTime() {
        return popOverTime;
    }

    public void setPopOverTime(Integer popOverTime) {
        this.popOverTime = popOverTime;
    }

    public int getHavaDiscount() {
        return havaDiscount;
    }

    public void setHavaDiscount(int havaDiscount) {
        this.havaDiscount = havaDiscount;
    }

    public String getTopTag() {
        return topTag;
    }

    public void setTopTag(String topTag) {
        this.topTag = topTag;
    }
}
